import request from '@/utils/request'

// 查询业务类型管理列表
export function listParkBusiness(query) {
  return request({
    url: '/park/parkBusiness/list',
    method: 'get',
    params: query
  })
}

// 查询业务类型管理详细
export function getParkBusiness(id) {
  return request({
    url: '/park/parkBusiness/getInfo/' + id,
    method: 'get'
  })
}

// 新增业务类型管理
export function addParkBusiness(data) {
  return request({
    url: '/park/parkBusiness/add',
    method: 'post',
    data: data
  })
}

// 修改业务类型管理
export function updateParkBusiness(data) {
  return request({
    url: '/park/parkBusiness/edit',
    method: 'post',
    data: data
  })
}

// 删除业务类型管理
export function delParkBusiness(id) {
  return request({
    url: '/park/parkBusiness/remove/' + id,
    method: 'get'
  })
}

// 导出业务类型管理
export function exportParkBusiness(query) {
  return request({
    url: '/park/parkBusiness/export',
    method: 'get',
    params: query
  })
}